package cn.iocoder.yudao.module.game.controller.app.vo;


import lombok.Data;

import java.util.HashMap;
import java.util.Map;

@Data
public class RealPGResult {

    private Map<String, Object> error;

    private Map<String, Object> data;

    public RealPGResult() {
        super();
    }

    public RealPGResult(Map<String, Object> data) {
        super();
        this.error = null;
        this.data = data;
    }

    public RealPGResult(String code, String message) {
        super();
        Map error = new HashMap();
        error.put("code", code);
        error.put("message", message);
        this.error = error;
        this.data = null;
    }

}
